﻿namespace SupportSystemUI.Controls.Pages
{
    using System.Windows;

    /// <summary>
    /// Holds all data required to initialize a page.
    /// </summary>
    public class PageData
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="PageData"/> class.
        /// </summary>
        /// <param name="content">Content UI element.</param>
        /// <param name="title">Title of the page.</param>
        public PageData(UIElement content, string title)
        {
            this.Content = content;
            this.Title = title;
        }

        /// <summary>
        /// Gets the content UI element.
        /// </summary>
        public UIElement Content { get; private set; }

        /// <summary>
        /// Gets the title of the page.
        /// </summary>
        public string Title { get; private set; }
    }
}
